doctype html
html(lang="zh-CN")
	head
		include _head.jade
		title 管理平台登录
		style.
			body {
				padding-top: 40px;
				padding-bottom: 40px;
				background-color: #eee;
			}
			.form-signin {
				max-width: 330px;
				padding: 15px;
				margin: 0 auto;
			}
			.form-signin .form-signin-heading,
			.form-signin .radio {
				margin-bottom: 10px;
			}
			.form-signin .radio {
				font-weight: normal;
			}
			.form-signin .radio label {
				margin-right: 10px;
			}
			.form-signin .form-control {
				position: relative;
				height: auto;
				-webkit-box-sizing: border-box;
				-moz-box-sizing: border-box;
				box-sizing: border-box;
				padding: 10px;
				font-size: 16px;
			}
			.form-signin .form-control:focus {
				z-index: 2;
			}
			.form-signin #admin_phone {
				margin-bottom: -1px;
				border-bottom-right-radius: 0;
				border-bottom-left-radius: 0;
			}
			.form-signin #admin_password {
				margin-bottom: 10px;
				border-top-left-radius: 0;
				border-top-right-radius: 0;
			}
	body#system_login
		div.container
			form.form-signin#login_form
				h2.form-signin-heading 管理平台登录
				div.radio
					label
						input(type="radio", name="type", value="customer", checked="checked")
						| 客服
					label
						input(type="radio", name="type", value="master")
						| 主管
				label.sr-only(for="admin_phone") 手机
				input#admin_phone.form-control(type="text", name="phone", placeholder="手机", autofocus="autofocus")
				label.sr-only(for="admin_password") 密码
				input#admin_password.form-control(type="password", name="password", placeholder="密码")
				br
				div.forget
					a 忘记密码？
				button#login_btn.btn.btn-lg.btn-primary.btn-block(type="button") 登录
				div.error-msg
		include _js.jade
		script(type="text/javascript", src="/js/system/login.js")
